

package Homework.demo01;//陈健铭


public class Books {
    private String numbers;
    private String bookname;
    private String price;


public Books(){}


 public Books(String numbers,String bookname,String price){
 this.numbers=numbers;
 this.bookname=bookname;
 this.price=price;
 

}
 public void display(){
 System.out.println("图书编号:"+numbers);
 System.out.println("图书名:"+bookname);
 System.out.println("价格:"+price);
 
 }
 public static void main(String arge[]){
     Books a=new Books("ISBN978-7-5045-8329-1","《java程序设计基础>》","37元");
     a.display();
 }
 }